google.maps.__gjsload__('marker', function(_){var vVa=function(a,b){const c=_.Ka(b);a.mh.set(c,b);a.nh.ri()},wVa=function(a,b){if(a.nh.has(b)){_.Qn(b,"UPDATE_BASEMAP_COLLISION");_.Qn(b,"UPDATE_MARKER_COLLISION");_.Qn(b,"REMOVE_COLLISION");a.nh.delete(b);var c=a.oh;const d=_.Ka(b);c.mh.has(d)&&(c.mh.delete(d),b.Vo=null,c.nh.ri());_.Dca(a.mh,b)}},xVa=function(a,b){a.nh.has(b)||(a.nh.add(b),_.Mn(b,"UPDATE_BASEMAP_COLLISION",()=>{a.ph.add(b);a.qh.fq()}),_.Mn(b,"UPDATE_MARKER_COLLISION",()=>{a.qh.fq()}),_.Mn(b,"REMOVE_COLLISION",()=>{wVa(a,b)}),vVa(a.oh, b),_.Cca(a.mh,b))},yVa=function(a){return`${_.Pm(a)}-internal-${a}`},zVa=function(a,b){b=(a=a.__e3_)&&a[b];return!!b&&Object.values(b).some(c=>c.gD)},AVa=function(a,b,c){return new _.Ln(a,`${b}_removed`,c,0,!1)},BVa=function(a,b,c){return new _.Ln(a,`${b}_added`,c,0,!1)},AR=function(a){return a?_.gr.has(a)?_.gr.get(a):a instanceof ShadowRoot?AR(a.host):AR(a.parentNode):null},CVa=function(a){var b=1;return()=>{--b||a()}},BR=function(a){return a instanceof _.kC},CR=function(a){return BR(a)?a.getSize(): a.size},DVa=function(a,b){if(!(a&&b&&a.isConnected&&b.isConnected))return!1;a=a.getBoundingClientRect();b=b.getBoundingClientRect();return b.x+b.widtha.x+a.width+0||b.y+b.heighta.y+a.height+0?!1:!0},EVa=function(a,b){_.VI().mh.load(new _.tL(a),c=>{b(c&&c.size)})},FVa=function(a,b){a=a.getBoundingClientRect();b=b instanceof Element?b.getBoundingClientRect():a;return{offset:new _.Oo(b.x-a.x,b.y-a.y),size:new _.So(b.width,b.height)}},DR=function(a){a=new DOMMatrixReadOnly(a.transform); return{offsetX:a.m41,offsetY:a.m42}},ER=function(a){const b=window.devicePixelRatio||1;return Math.round(a*b)/b},GVa=function(a,{clientX:b,clientY:c}){const {height:d,left:e,top:f,width:g}=a.getBoundingClientRect();return{Sh:ER(b-(e+g/2)),Uh:ER(c-(f+d/2))}},HVa=function(a,b){if(!a||!b)return null;a=a.getProjection();return _.Ex(b,a)},IVa=function(a,b){const c=_.YL(a);if(!b||!c)return!1;a=Math.abs(c.clientX-b.clientX);b=Math.abs(c.clientY-b.clientY);return a*a+b*b>=4},JVa=function(a,b){const c=[]; c.push("@-webkit-keyframes ",b," {\n");_.Ob(a.frames,d=>{c.push(d.time*100+"% { ");c.push("-webkit-transform: translate3d("+d.translate[0]+"px,",d.translate[1]+"px,0); ");c.push("-webkit-animation-timing-function: ",d.sn,"; ");c.push("}\n")});c.push("}\n");return c.join("")},KVa=function(a,b){for(let c=0;c=a.frames[c].time&&b"stylers"in e)&&_.N(a,174113);MVa(b)&&_.N(a,149062);b.get("anchorPoint")&&_.N(a,149064);c=b.get("animation");c===1&&_.N(a,149065);c===2&&_.N(a,149066);b.get("clickable")===!1&&(_.N(a,149091),b.get("title")&&_.N(a,149063));b.get("draggable")&&(_.N(a,149069),b.get("clickable")===!1&&_.N(a,149070));b.get("visible")===!1&&_.N(a,149081);b.get("crossOnDrag")&&_.N(a,149067);b.get("cursor")&&_.N(a,149068);b.get("label")&&_.N(a,149080);b.get("title")&&_.N(a,149090);b.get("opacity")!= null&&_.N(a,149082);b.get("optimized")===!0?_.N(a,149085):b.get("optimized")===!1&&_.N(a,149071);b.get("zIndex")!=null&&_.N(a,149092);c=b.get("icon");var d=new GR;(d=!c||c===d.icon.url||c.url===d.icon.url)?_.N(a,173084):_.N(a,173083);typeof c==="string"?_.N(a,149079):c&&c.url!=null?(c.anchor&&_.N(a,149074),c.labelOrigin&&_.N(a,149075),c.origin&&_.N(a,149076),c.scaledSize&&_.N(a,149077),c.size&&_.N(a,149078)):c&&c.path!=null?(c=c.path,c===0?_.N(a,149088):c===1?_.N(a,149072):c===2?_.N(a,149073):c=== 3?_.N(a,149086):c===4?_.N(a,149087):_.N(a,149089)):BR(c)&&_.N(a,149083);b.get("shape")&&(_.N(a,149084),d&&_.N(a,162762));if(c=b.get("place"))c.placeId?_.N(a,149093):_.N(a,149094),b.get("attribution")&&_.N(a,149061)}},PVa=function(a,b,c){OVa(a,c,d=>{a.set(b,d);const e=d?CR(d):null;b==="viewIcon"&&d&&e&&a.mh&&a.mh(e,d.anchor,d.labelOrigin);d=a.get("modelLabel");a.set("viewLabel",d?{text:d.text||d,color:_.Dm(d.color,"#000000"),fontWeight:_.Dm(d.fontWeight,""),fontSize:_.Dm(d.fontSize,"14px"),fontFamily:_.Dm(d.fontFamily, "Roboto,Arial,sans-serif"),className:d.className||""}:null)})},OVa=function(a,b,c){b?BR(b)?c(b):b.path!=null?c(a.nh(b)):(_.Fm(b)||(b.size=b.size||b.scaledSize),b.size?c(b):(b.url||(b={url:b}),EVa(b.url,d=>{b.size=d||new _.So(24,24);c(b)}))):c(null)},QVa=function(a){const b=a.get("mapPixelBoundsQ");var c=a.get("icon");const d=a.get("position");if(!b||!c||!d)return a.get("visible")!==!1;const e=c.anchor||_.np,f=c.size.width+Math.abs(e.x);c=c.size.height+Math.abs(e.y);return d.x>b.minX-f&&d.y>b.minY- c&&d.x{a.style.webkitAnimationDuration=c.duration?c.duration+"ms":"";a.style.webkitAnimationIterationCount=`${c.nn}`;a.style.webkitAnimationName=b||""})},TVa=function(){const a=[];for(let b=0;b{}});a.mh=PR(a,b,a.mh,c,e);ZVa(a,c,QR(a))}},dWa=function(a){var b=a.getLabel();if(b){if(!a.qh){const e=a.qh=new aWa(a.getPanes(),b,a.get("opacity"),a.get("visible"),a.si);a.Vh=[_.Mn(a,"label_changed",()=>{e.setLabel(a.get("label"))}),_.Mn(a,"opacity_changed",()=>{e.setOpacity(a.get("opacity"))}), _.Mn(a,"panes_changed",()=>{var f=a.get("panes");e.xm=f;HR(e);e.nh.ri()}),_.Mn(a,"visible_changed",()=>{e.setVisible(a.get("visible"))})]}if(b=a.getIcon()){var c=a.mh,d=QR(a);c=bWa(a,b,d,KR(c)||_.np);d=CR(b);d=b.labelOrigin||new _.Oo(d.width/2,d.height/2);BR(b)&&(b=b.getSize().width,d=new _.Oo(b/2,b/2));RVa(a.qh,new _.Oo(c.x+d.x,c.y+d.y));a.qh.setZIndex(cWa(a));_.vq(a.qh.nh)}}},fWa=function(a){if(!a.zh){a.oh&&(a.uh&&_.On(a.uh),a.oh.cancel(),a.oh=null);var b=a.get("animation");if(b=eWa[b]){var c=b.options; a.mh&&(a.zh=!0,a.set("animating",!0),b=YVa(a.mh,b.icon,c),a.oh=b,a.uh=_.Xn(b,"done",()=>{a.set("animating",!1);a.oh=null;a.set("animation",null)}))}}},LR=function(a){if(a)for(let b=0,c=a.length;b{a.Ah=!1;MR(a);_.vq(a.rh)},0);_.Zx(c);_.ao(a,"mouseup",c.mh)},nl:({event:c,Eq:d})=>{if(a.get("clickable")!==!1||a.getDraggable())_.ax(c.mh),c.button===3?d||c.button===3&&_.ao(a,"rightclick",c.mh):d?_.ao(a,"dblclick",c.mh):(_.ao(a,"click",c.mh),_.N(window,171150))},yu:c=>{_.$x(c);_.ao(a,"contextmenu",c.mh)}}),a.th=new _.NB(b,b,{st(c){_.ao(a,"mouseout", c)},tt(c){_.ao(a,"mouseover",c)}}))},gWa=function(a,b,c,d){c=c||_.vx("div",b);_.cr(c);b===a.getPanes().overlayMouseTarget?(b=d.element.cloneNode(!0),_.eJ(b,0),c.appendChild(b)):c.appendChild(d.element);b=d.getSize();c.style.width=_.Qo(b);c.style.height=_.Ro(b);c.style.pointerEvents="none";c.style.userSelect="none";_.Xn(d,"changed",()=>{a.nh()});return c},SR=function(a){const b=a.marker.get("place");a=a.marker.get("position");return b&&b.location||a},TR=function(a,b){a.ph&&a.ph.has(b)&&({marker:a}= a.ph.get(b),b.zn=iWa(a),b.zn&&(b=a.getMap())&&_.N(b,184438))},kWa=function(a,b){if(a.ph){var {tF:c,marker:d}=a.ph.get(b);for(const e of jWa)c.push(BVa(d,e,()=>{TR(a,b)})),c.push(AVa(d,e,()=>{!iWa(d)&&b.zn&&TR(a,b)}))}},lWa=function(a){const b=a.nh.__gm;a.mh.bindTo("mapPixelBounds",b,"pixelBounds");a.mh.bindTo("panningEnabled",a.nh,"draggable");a.mh.bindTo("panes",b)},mWa=function(a){const b=a.nh.__gm;_.Mn(a.uh,"dragging_changed",()=>{b.set("markerDragging",a.marker.get("dragging"))});b.set("markerDragging", b.get("markerDragging")||a.marker.get("dragging"))},oWa=function(a){a.rh.push(_.$n(a.mh,"panbynow",a.nh.__gm));nWa.forEach(b=>{a.rh.push(_.Mn(a.mh,b,c=>{const d=a.wh?SR(a):a.marker.get("internalPosition");c=new _.OB(d,c,a.mh.get("position"));_.ao(a.marker,b,c)}))})},pWa=function(a){const b=()=>{a.marker.get("place")?a.mh.set("draggable",!1):a.mh.set("draggable",!!a.marker.get("draggable"))};a.rh.push(_.Mn(a.uh,"draggable_changed",b));a.rh.push(_.Mn(a.uh,"place_changed",b));b()},qWa=function(a){a.rh.push(_.Mn(a.nh, "projection_changed",()=>{UR(a)}));a.rh.push(_.Mn(a.uh,"position_changed",()=>{UR(a)}));a.rh.push(_.Mn(a.uh,"place_changed",()=>{UR(a)}))},sWa=function(a){a.rh.push(_.Mn(a.mh,"dragging_changed",()=>{if(a.mh.get("dragging"))a.zh=a.qh.ko(),a.zh&&_.DM(a.qh,a.zh);else{a.zh=null;a.yh=null;var b=a.qh.getPosition();if(b&&(b=_.Gr(b,a.nh.get("projection")),b=rWa(a,b))){const c=_.Ex(b,a.nh.get("projection"));a.marker.get("place")||(a.xh=!1,a.marker.set("position",b),a.xh=!0);a.qh.setPosition(c)}}}));a.rh.push(_.Mn(a.mh, "deltaclientposition_changed",()=>{var b=a.mh.get("deltaClientPosition");if(b&&(a.zh||a.yh)){var c=a.yh||a.zh;a.yh={clientX:c.clientX+b.clientX,clientY:c.clientY+b.clientY};b=a.Mh.Nm(a.yh);b=_.Gr(b,a.nh.get("projection"));c=a.yh;var d=rWa(a,b);d&&(a.marker.get("place")||(a.xh=!1,a.marker.set("position",d),a.xh=!0),d.equals(b)||(b=_.Ex(d,a.nh.get("projection")),c=a.qh.ko(b)));c&&_.DM(a.qh,c)}}))},tWa=function(a){if(a.oh){a.mh.bindTo("scale",a.oh);a.mh.bindTo("position",a.oh,"pixelPosition");const b= a.nh.__gm;a.oh.bindTo("latLngPosition",a.marker,"internalPosition");a.oh.bindTo("focus",a.nh,"position");a.oh.bindTo("zoom",b);a.oh.bindTo("offset",b);a.oh.bindTo("center",b,"projectionCenterQ");a.oh.bindTo("projection",a.nh)}},vWa=function(a){if(a.oh){const b=new uWa(a.nh instanceof _.kp);b.bindTo("internalPosition",a.oh,"latLngPosition");b.bindTo("place",a.marker);b.bindTo("position",a.marker);b.bindTo("draggable",a.marker);a.mh.bindTo("draggable",b,"actuallyDraggable")}},UR=function(a){if(a.xh){var b= SR(a);b&&a.qh.setPosition(_.Ex(b,a.nh.get("projection")))}},rWa=function(a,b){const c=a.nh.__gm.get("snappingCallback");return c&&(a=c({latLng:b,overlay:a.marker}))?a:b},iWa=function(a){return jWa.some(b=>zVa(a,b))},xWa=function(a,b,c){if(b instanceof _.uo){const d=b.__gm;Promise.all([d.nh,d.oh]).then(([{Mh:e},f])=>{wWa(a,b,c,e,f)})}else wWa(a,b,c,null)},wWa=function(a,b,c,d,e=!1){const f=new Map,g=h=>{var k=b instanceof _.uo;const n=k?h.__gm.Sr.map:h.__gm.Sr.streetView,p=n&&n.nh===b,r=p!==a.contains(h); n&&r&&(k?(h.__gm.Sr.map.dispose(),h.__gm.Sr.map=null):(h.__gm.Sr.streetView.dispose(),h.__gm.Sr.streetView=null));!a.contains(h)||!k&&h.get("mapOnly")||p||(b instanceof _.uo?(k=b.__gm,h.__gm.Sr.map=new yWa(h,b,c,_.uM(k,h),d,k.Bh,f)):h.__gm.Sr.streetView=new yWa(h,b,c,_.Qk,null,null,null),NVa(b,h,e))};_.Mn(a,"insert",g);_.Mn(a,"remove",g);a.forEach(g)},VR=function(a){return _.es()/(a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||a.backingStorePixelRatio|| 1)},zWa=function(a,b,c){a=a.mh;a.width=b;a.height=c;return a},AWa=function(a){const b=[];a.zj.forEach(c=>{b.push(c)});b.sort((c,d)=>c.zIndex-d.zIndex);return b},BWa=function(a){const b=AWa(a),c=a.getContext(),d=VR(c);a=a.fi.size;c.clearRect(0,0,Math.ceil(a.Sh*d),Math.ceil(a.Uh*d));b.forEach(e=>{c.globalAlpha=_.Dm(e.opacity,1);c.drawImage(e.image,e.Dz,e.Ez,e.Cz,e.wz,Math.round(e.dx*d),Math.round(e.dy*d),e.xr*d,e.ur*d)})},CWa=function(a,b,c){if(c.dx>a||c.dy>b||c.dx+c.xr g.push(h));g.sort((h,k)=>k.zIndex-h.zIndex);c=null;for(e=0;d=g[e];++e){f=d.qw;if(f.clickable===!1)continue;f=f.RA;if(CWa(a.x,a.y,d)){c=f;break}}c&&(b.jk=d);return c},EWa=function(a,b){if(!b.NB){b.NB=!0;var c=_.Fr(a.get("projection")),d=b.qu;if(d){d.dx<-64||d.dy<-64||d.dx+d.xr>64||d.dy+d.ur>64?(_.xq(a.oh,b),d=a.nh.search(_.wt)):(d=b.latLng,d=new _.Oo(d.lat(),d.lng()),b.ij=d,_.xM(a.ph,{ij:d,marker:b}),d=_.SFa(a.nh,d));for(let f=0,g=d.length;f{delete b.zj[c];d.fl.zj.remove(d)}))},GWa=function(a,b){a.tiles[_.eo(b)]=b;var c={Zh:b.ej.x,ai:b.ej.y,ii:b.zoom};const d=_.Fr(a.get("projection"));var e=_.Qy(a.fi,c);e=new _.Oo(e.mh,e.nh);const {min:f,max:g}=_.BI(a.fi,c,64/a.fi.size.Sh);c=_.yp(f.mh,f.nh,g.mh,g.nh);_.VFa(c,d,e,(h,k)=>{h.EH=k;h.fl=b;b.aq[_.eo(h)]=h;_.vM(a.nh,h);const n=(a.ph.search(h)|| []).map(p=>p.marker);a.oh.forEach(p=>{n.push(p)});for(let p=0,r=n.length;p{b.zj.remove(c);delete c.qw.zj[_.eo(c)]}),_.vm(b.aq,(c,d)=>{a.nh.remove(d)}))},DWa=function(a,b,c,d,e){if(!(e&&c&&d.latLng&&b))return null;var f=e.fromLatLngToPoint(c);c=e.fromLatLngToPoint(d.latLng);if(!c||!f)return null;e=a.fi.size;a=_.yBa(a.fi,new _.Uq(c.x, c.y),new _.Uq(f.x,f.y),b.zoom);c.x=a.Zh*e.Sh;c.y=a.ai*e.Uh;a=d.zIndex;_.Am(a)||(a=c.y);a=Math.round(a*1E3)+Number(_.eo(d))%1E3;f=d.qu;b={image:f.image,Dz:f.Dz,Ez:f.Ez,Cz:f.Cz,wz:f.wz,dx:f.dx+c.x,dy:f.dy+c.y,xr:f.xr,ur:f.ur,zIndex:a,opacity:d.opacity,fl:b,qw:d};return b.dx>e.Sh||b.dy>e.Uh||b.dx+b.xr<0||b.dy+b.ur<0?null:b},IWa=function(a){return typeof a==="string"?(YR.has(a)||YR.set(a,{url:a}),YR.get(a)):a},OWa=function(a,b,c){const d=new _.qr,e=new _.qr,f=new JWa;new KWa(a,d,new GR,f,c);const g=_.qx(b.getDiv()).createElement("canvas"), h={};a=_.yp(-100,-300,100,300);const k=new _.hN(a);a=_.yp(-90,-180,90,180);const n=_.UFa(a,(w,y)=>w.marker===y.marker);let p=null,r=null;const t=new _.cp(null),v=b.__gm;v.nh.then(w=>{v.sh.register(new LWa(h,v,t,w.Mh.wk));_.lw(w.ws,y=>{if(y&&p!==y.fi){r&&r.unbindAll();var E=p=y.fi;r=new MWa(h,d,e,function(H,M){return new NWa(M,new ZR(H,M,g,E),H)},k,n,p);r.bindTo("projection",b);t.set(r.mh())}})});_.FM(b,t,"markerLayer",-1)},QWa=function(a){a.Pt||(a.Pt=_.XI(()=>{a.Pt=0;const b=a.Ev;a.Ev={};const c= a.Lw;for(const d of Object.values(b))PWa(a,d);c&&!a.Lw&&a.gu.forEach(d=>{PWa(a,d)})}))},PWa=function(a,b){var c=b.get("place");c=c?c.location:b.get("position");b.set("internalPosition",c);b.changed=a.vM;if(!b.get("animating"))if(a.lD.remove(b),!c||b.get("visible")==0||b.__gm&&b.__gm.Vo)a.gu.remove(b);else{a.Lw&&!a.uF&&a.gu.getSize()>=256&&(a.Lw=!1);c=b.get("optimized");const e=b.get("draggable"),f=!!b.get("animation");var d=b.get("icon");const g=!!d&&d.path!=null;d=BR(d);const h=b.get("label")!=null; a.uF||c==0||e||f||g||d||h||!c&&a.Lw?_.xq(a.gu,b):(a.gu.remove(b),_.xq(a.lD,b))}},RWa=function(a,b){const c=new _.kq;c.onAdd=()=>{};c.onContextLost=()=>{};c.onRemove=()=>{};c.onContextRestored=()=>{};c.onDraw=({transformer:d})=>{a.onDraw(d)};_.Zt.add(c);c.setMap(b);return c},SWa=function(a){a.sh||(a.sh=setTimeout(()=>{const b=[...a.ph].filter(c=>!c.Op).length;b>0&&a.li.Eh(a.map,b);a.sh=0},0))},VWa=function(a,b){a.qh.has(b)||(a.qh.add(b),_.tz(_.sz(),()=>{if(a.map){var c=[];for(const d of a.qh){if(!d.map)continue; const e=d.targetElement;e.parentNode||c.push(d);const f=d.Vo!==!1&&$R(d)||d.Ys,g=_.vo(a.map);g||(a.th||(a.th=a.nh.attachShadow({mode:_.Fq[166]?"open":"closed"}),a.th.append(a.rh,a.mh)),a.nh.append(e));g&&e.parentElement===g||!g&&e.parentElement===a.nh?e.setAttribute("slot",f?TWa:UWa):e.style.visibility=f?"hidden":"";d.Ym(!f);d.uw=!1}a.qh.clear();for(const d of c)d.Kz(!0)}}))},WWa=function(a){aS||(aS=new ResizeObserver(b=>{for(const c of b)c.target.dispatchEvent(new CustomEvent("marker-resize",{detail:c.contentRect}))})); aS.observe(a)},ZWa=function(a,b){const c=_.Ka(b);let d=bS.get(c);d||(d=new XWa(b),bS.set(c,d));b=d;YWa(a,b.Xn);b.ph.add(a);SWa(b);WWa(a.targetElement)},$Wa=function(a){a=_.Ka(a);(a=bS.get(a))&&a.requestRedraw()},aXa=function(a,b){b=_.Ka(b);(b=bS.get(b))&&VWa(b,a)},bXa=function(a){let b=0,c=0;for(const d of a)switch(d){case "ArrowLeft":--b;break;case "ArrowRight":b+=1;break;case "ArrowDown":c+=1;break;case "ArrowUp":--c}return{deltaX:b,deltaY:c}},dS=function(a,b,c=!0){a.mh.position=a.yh;cS(a,b,c)}, cS=function(a,b,c=!0){b.preventDefault();b.stopImmediatePropagation();eS(a);cXa(a);a.nh&&(a.nh.release(),a.nh=null);c&&fS(a.mh,"dragend",b)},gS=function(a,b){if(b){a.oh.style.display="";b=a.mh.anchorTop||"-100%";let c=a.mh.anchorLeft||"-50%";b==="0"&&(b="0px");c==="0"&&(c="0px");a.oh.style.left=`calc(-1 * ${c})`;a.oh.style.top=`calc(-1 * ${b})`}else a.oh.style.display="none"},eXa=function(a){a.oh.style.opacity="0.5";a.oh.style.position="absolute";gS(a,!1);a.oh.style.transform="translate(-50%, -50%)"; a.oh.style.zIndex="-1";dXa(a);const b=a.mh.Dp;b.addEventListener("pointerenter",a.Ch);b.addEventListener("pointerleave",a.Gh);b.addEventListener("focus",a.Ch);b.addEventListener("blur",a.Gh)},fXa=function(a,b=!1){return a.ph?_.Dz:b?"pointer":_.xma},hS=function(a){const b=a.mh.Bk;b&&b.appendChild(a.oh)},dXa=function(a){a.oh.children[0]?.remove();var b=a.mh,c;if(!(c=b.dragIndicator)){if(!b.Bv){const {url:d,scaledSize:e}=(new GR).mh;b.Bv=new Image(e.width,e.height);b.Bv.src=d;b.Bv.alt=""}c=b.Bv}a.oh.appendChild(c); hS(a)},hXa=function(a){if(!a.mh.KA){a.nh=new _.iN((c,d)=>{var e=a.mh;e.ui&&_.ao(e.ui,"panbynow",c,d)});_.CM(a.nh,!0);var b=gXa(a.mh);_.BM(a.nh,b);a.nh.ph=a.qh}},iXa=function(a,b){eS(a);a.qh=!1;a.nh&&(a.nh.ph=!1);a.rh=a.mh.ko();a.wh=_.YL(b)},jXa=function(a,b){var c=_.YL(b);if(c){b=c.clientX;c=c.clientY;var d=b-a.wh.clientX,e=c-a.wh.clientY;a.wh={clientX:b,clientY:c};b={clientX:a.rh.clientX+d,clientY:a.rh.clientY+e};a.rh=b;a.mh.aD(b)}},kXa=function(a,b){a.rh=a.mh.ko();a.yh=a.mh.position;a.wh=_.YL(b); a.ph=!0;hXa(a);a.mh.Dp.setAttribute("aria-grabbed","true");iS(a.mh);a.mh.Dp.style.zIndex="2147483647";a.oh.style.opacity="1";gS(a,!0);fS(a.mh,"dragstart",b)},lXa=function(a){a.qh&&(a.rh=a.mh.ko())},jS=function(a){_.ky!==2?(document.removeEventListener("pointermove",a.Ah),document.removeEventListener("pointerup",a.sh),document.removeEventListener("pointercancel",a.sh)):(document.removeEventListener("touchmove",a.Ah,{passive:!1}),document.removeEventListener("touchend",a.sh),document.removeEventListener("touchcancel", a.sh),document.removeEventListener("touchstart",a.sh));eS(a);cXa(a);a.nh&&(a.nh.release(),a.nh=null)},eS=function(a){const b=a.mh.Dp;b.removeEventListener("keydown",a.Vh);b.removeEventListener("keyup",a.Xh);b.removeEventListener("blur",a.Oh)},mXa=function(a){if(a.zh.size===0)a.xh=0;else{var {deltaX:b,deltaY:c}=bXa(a.zh),d=1;_.gM(a.Hh)&&(d=a.Hh.next());var e=Math.round(3*d*b);d=Math.round(3*d*c);e===0&&(e=b);d===0&&(d=c);e={clientX:a.rh.clientX+e,clientY:a.rh.clientY+d};a.rh=e;a.mh.aD(e);a.xh=window.setTimeout(()=> {mXa(a)},10)}},cXa=function(a){a.ph=!1;a.qh=!1;a.wh=null;a.rh=null;clearTimeout(a.xh);a.xh=0;a.yh=null;a.Eh=null;a.uh=null;const b=a.mh.Dp,c=a.mh.zIndex;a.oh.style.opacity="0.5";b.setAttribute("aria-grabbed","false");b.style.zIndex=c==null?"":`${c}`;nXa(a.mh)},YWa=function(a,b){a.NA=b;if(a.Zu){var c=a.getAttribute("aria-describedby");c=c?c.split(" "):[];c.push(b);a.setAttribute("aria-describedby",c.join(" "))}},$R=function(a){return a.collisionBehavior!=="REQUIRED"&&!a.Ml&&!!a.map&&!!a.position}, gXa=function(a){return a.ui?a.ui.get("pixelBounds"):null},fS=function(a,b,c){_.ao(a,b,new _.OB(a.Rp,c,a.lw?new _.Oo(a.lw.Sh,a.lw.Uh):null))},iS=function(a){_.ao(a,"REMOVE_COLLISION")},nXa=function(a){a.style.cursor=a.Hj?fXa(a.Hj,a.cw):a.cw?"pointer":""},kS=function(a,b=!1){$R(a)&&(a.ui&&xVa(a.ui.Hh,a),_.ao(a,"UPDATE_MARKER_COLLISION"),b&&a.zx&&_.ao(a,"UPDATE_BASEMAP_COLLISION"))},oXa=function(a){a.bq.then(()=>{_.Mr(a,"marker-view");a.style.position="absolute";a.style.left="0px"})},pXa=function(a){if(a.kn.get("isOpen")){var {width:b}= a.getBoundingClientRect();a.kn.set("anchorPoint",new _.Oo(b?b/2:0,0))}},lS=function(a){a.style.pointerEvents=a.Qy?"none":a.XF?"auto":""},mS=function(a){a.zn=a.cw||!!a.Zu},qXa=function(a,b=!1){if(a.Ys||!a.Rk)a.kn.set("pixelPosition",null);else if(a.kn.get("isOpen"))if(b)requestAnimationFrame(()=>{const {offsetX:c,offsetY:d}=DR(a.Vx);a.kn.set("pixelPosition",new _.Oo(c,d))});else{const {offsetX:c,offsetY:d}=DR(a.Vx);a.kn.set("pixelPosition",new _.Oo(c,d))}},rXa=function(a,b){var c;if(c=a.Hj)c=a.Hj, c=c.uh&&b.timeStamp-c.uh>=500?!0:c.th;if(!c&&a.Rp){a.gmpDraggable||a.focus();fS(a,"click",b);if(a.gmpClickable||_.Nn(a,"gmp-click"))c=new nS,_.ao(a,"gmp-click",c),a.dispatchEvent(c);a.li.th(b)}},sXa=function(a){!a.xj&&a.map&&a.ui&&(a.fD=!0,a.xj=_.ly(a,{nl:({event:b,Eq:c})=>{a.XF?(_.ax(b.mh),b.button===3||c||rXa(a,b.mh)):a===b.mh.target||a.Qy||(console.debug('To make AdvancedMarkerElement clickable and provide better accessible experiences, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'), a.li.wh(a.map))}}),a.cB=_.Ema({draggable:a.IF,ZE:new _.eC(a.map,"gestureHandling"),xl:a.ui.rm}),_.lw(a.cB,a.xF),a.fD=!1)},oS=function(a){const b=c=>c.nodeType===Node.TEXT_NODE&&c.nodeValue!=null&&!/\S/.test(c.nodeValue);return a.childNodes.length>0?([...a.childNodes].every(b)&&_.Gn(_.bq(a,"AdvancedMarkerElement is displaying empty text content. If you want a pin to appear, make sure to remove any whitespace between the tags.")),[...a.childNodes]):a.kl&&a.kl.contains(a.pm)?[a.pm]: []},tXa=function(a,b,c){if(b&&c&&({altitude:b}=new _.Kp(b),b>0||b<0))throw a.li.xh(window),_.Wm("Draggable AdvancedMarkerElement with non-zero altitude is not supported");},pS=function(a){if(a.Mk){const b=_.Ka(a.Mk),c=bS.get(b);c&&(c.ph.delete(a),c.isEmpty()&&(c.dispose(),bS.delete(b)));aS&&aS.unobserve(a.targetElement);_.ao(a,"REMOVE_FOCUS");_.ao(a,"REMOVE_COLLISION");a.Mh&&(a.Kk&&(a.Mh.Pl(a.Kk),a.Kk=null),a.Mh=null);a.Hj&&jS(a.Hj);a.BE?.remove();a.ZH?.remove();a.UG?.remove();a.uG?.remove();a.cB?.removeListener(a.xF); a.xj&&(a.xj.remove(),a.xj=null);a.kn.set("map",null);a.zx=null;a.ui=null;a.Mk=null;a.uw=!0}},qS=function(a){if(a.ui&&!a.Ml){var b=a.ui.Bh;b&&(a.zn&&a.Rk&&!a.Vo?b.Hh(a):_.ao(a,"REMOVE_FOCUS"))}},vXa=function(a){var b=a.ui.get("baseMapType");b=b&&(!b.mapTypeId||!Object.values(_.Qs).includes(b.mapTypeId));a.zx=a.ZF&&!b;if(!a.Op||a.position)a.zx?$Wa(a.map):uXa(a)},wXa=function(a){if(!a.Op){var b=a.ui.mh;b.bC.then(()=>{const c=_.gq(b,"ADVANCED_MARKERS");if(!c.isAvailable){a.ui&&a.ui.bi();for(const d of c.mh)b.log(d); a.li.uh(a.map);a.dispose()}})}},xXa=function(a){a.li.Ch(a.map);a.li.ph(a.map,a.Qy);if(a.cw){const b=_.Nn(a,"gmp-click");a.li.nh(a.map,b)}a.gmpDraggable&&a.li.qh(a.map);a.title&&a.li.rh(a.map);a.zIndex!==null&&a.li.sh(a.map);a.Yl()>0&&a.li.mh(a.map);a.li.oh(a.map,a.collisionBehavior)},rS=function(a,b){a.Hj&&lXa(a.Hj);if(b){a.style.transform=`${`translate(${a.anchorLeft||"-50%"}, ${a.anchorTop||"-100%"})`} ${`translate(${b.x}px, ${b.y}px)`}`;const c=a.style.willChange?a.style.willChange.replace(/\s+/g, "").split(","):[];c.includes("transform")||_.tz(_.sz(),()=>{c.push("transform");a.style.willChange=c.join(",")},a,a)}a.Rk=b;qS(a)},uXa=function(a){var b=HVa(a.Mk,a.Rp);a.Kk?a.Kk.setPosition(b,a.Yl()):a.Mh&&(b=new _.kN(a.Mh.wk,a,b,a.Mh,null,a.Yl(),a.NK),a.Mh.Cj(b),a.Kk=b)};_.Oo.prototype.Xy=_.da(18,function(){return Math.sqrt(this.x*this.x+this.y*this.y)}); var jWa=["click","dblclick","rightclick","contextmenu"],yXa=class extends _.fo{constructor(){super();this.constraint=0;this.mh=!1}position_changed(){this.mh||(this.mh=!0,this.set("rawPosition",this.get("position")),this.mh=!1)}rawPosition_changed(){if(!this.mh){this.mh=!0;var a=this.set,b;var c=this.get("rawPosition");if(c){(b=this.get("snappingCallback"))&&(c=b(c));b=c.x;c=c.y;var d=this.get("referencePosition");d&&(this.constraint===2?b=d.x:this.constraint===1&&(c=d.y));b=new _.Oo(b,c)}else b=null; a.call(this,"position",b);this.mh=!1}}},zXa=class{constructor(a,b,c,d,e=0,f=0){this.width=c;this.height=d;this.offsetX=e;this.offsetY=f;this.nh=new Float64Array(2);this.nh[0]=a;this.nh[1]=b;this.mh=new Float32Array(2)}transform(a){a.Su(1,this.nh,this.mh,0,0,0);this.mh[0]+=this.offsetX;this.mh[1]+=this.offsetY}isVisible(a){return this.mh[0]>=-this.width&&this.mh[0]<=a.width+this.width&&this.mh[1]>=-this.height&&this.mh[1]<=a.height+this.height}equals(a){return this.nh[0]===a.nh[0]&&this.nh[1]===a.nh[1]&& this.width===a.width&&this.height===a.height&&this.offsetX===a.offsetX&&this.offsetY===a.offsetY}oh(a){return this.mh[0]>a.right||this.mh[0]+this.widtha.bottom||this.mh[1]+this.heighta,["ease-out"]:a=>1-Math.pow(a-1,2),["ease-in"]:a=>Math.pow(a,2)},sS=class{constructor(a){this.frames=a;this.mh=""}},FR;var eWa={[1]:{options:{duration:700,nn:"infinite"},icon:new sS([{time:0,translate:[0,0],sn:"ease-out"},{time:.5,translate:[0,-20],sn:"ease-in"},{time:1,translate:[0,0],sn:"ease-out"}])},[2]:{options:{duration:500,nn:1},icon:new sS([{time:0,translate:[0,-500],sn:"ease-in"},{time:.5,translate:[0,0],sn:"ease-out"},{time:.75,translate:[0,-20],sn:"ease-in"},{time:1,translate:[0,0],sn:"ease-out"}])},[3]:{options:{duration:200,Xy:20,nn:1,MH:!1},icon:new sS([{time:0,translate:[0,0],sn:"ease-in"},{time:1, translate:[0,-20],sn:"ease-out"}])},[4]:{options:{duration:500,Xy:20,nn:1,MH:!1},icon:new sS([{time:0,translate:[0,-20],sn:"ease-in"},{time:.5,translate:[0,0],sn:"ease-out"},{time:.75,translate:[0,-10],sn:"ease-in"},{time:1,translate:[0,0],sn:"ease-out"}])}};var GR=class{constructor(){this.icon={url:_.fs("api-3/images/spotlight-poi3",!0),scaledSize:new _.So(26,37),origin:new _.Oo(0,0),anchor:new _.Oo(13,37),labelOrigin:new _.Oo(13,14)};this.nh={url:_.fs("api-3/images/spotlight-poi-dotless3",!0),scaledSize:new _.So(26,37),origin:new _.Oo(0,0),anchor:new _.Oo(13,37),labelOrigin:new _.Oo(13,14)};this.mh={url:_.fs("api-3/images/drag-cross",!0),scaledSize:new _.So(13,11),origin:new _.Oo(0,0),anchor:new _.Oo(7,6)};this.shape={coords:[13,0,4,3.5,0,12,2.75,21, 13,37,23.5,21,26,12,22,3.5],type:"poly"}}};var AXa=class extends _.fo{constructor(a,b){super();this.nh=a;this.mh=b;tS||(tS=new GR)}changed(a){a!=="modelIcon"&&a!=="modelShape"&&a!=="modelCross"&&a!=="modelLabel"||_.tz(_.sz(),this.oh,this,this)}oh(){const a=this.get("modelIcon");var b=this.get("modelLabel");PVa(this,"viewIcon",a||b&&tS.nh||tS.icon);PVa(this,"viewCross",tS.mh);b=this.get("useDefaults");let c=this.get("modelShape");c||a&&!b||(c=tS.shape);this.get("viewShape")!==c&&this.set("viewShape",c)}},tS;var BXa=class extends _.fo{constructor(){super();this.nh=!1;this.mh=QVa(this);this.set("shouldRender",this.mh)}changed(){if(!this.nh){var a=QVa(this);this.mh!==a&&(this.mh=a,this.nh=!0,this.set("shouldRender",this.mh),this.nh=!1)}}};var uWa=class extends _.fo{constructor(a){super();this.nh=a;this.mh=!1}internalPosition_changed(){if(!this.mh){this.mh=!0;var a=this.get("position"),b=this.get("internalPosition");a&&b&&!a.equals(b)&&this.set("position",this.get("internalPosition"));this.mh=!1}}draggable_changed(){if(!this.mh){this.mh=!0;if(this.nh){const a=this.get("place");a?this.set("internalPosition",a.location):this.set("internalPosition",this.get("position"))}this.get("place")?this.set("actuallyDraggable",!1):this.set("actuallyDraggable", this.get("draggable"));this.mh=!1}}position_changed(){this.draggable_changed()}place_changed(){this.draggable_changed()}};var aWa=class{constructor(a,b,c,d,e){this.xm=a;this.label=b;this.opacity=c;this.visible=d;this.origin=void 0;this.zIndex=0;this.ph=this.qh=this.mh=null;this.nh=new _.uq(this.rh,0,this);this.oh=e;this.xm=a;this.label=b;this.opacity=c;this.visible=d}setOpacity(a){this.opacity=a;this.nh.ri()}setLabel(a){this.label=a;this.nh.ri()}setVisible(a){this.visible=a;this.nh.ri()}setZIndex(a){this.zIndex=a;this.nh.ri()}release(){this.xm=null;HR(this)}rh(){if(this.xm&&this.label&&this.visible!==!1){var a=this.xm.markerLayer, b=this.label;this.mh?a.appendChild(this.mh):(this.mh=document.createElement("div"),a.appendChild(this.mh),this.mh.style.transform="translateZ(0)");a=this.mh;this.origin&&_.ux(a,this.origin);var c=a.firstElementChild;c||(c=document.createElement("div"),a.appendChild(c),c.style.height="100px",c.style.transform="translate(-50%, -50px)",c.style.display="table",c.style.borderSpacing="0");let d=c.firstElementChild;d||(d=document.createElement("div"),c.appendChild(d),d.style.display="table-cell",d.style.verticalAlign= "middle",d.style.whiteSpace="nowrap",d.style.textAlign="center");c=d.firstElementChild||_.vx("div",d);c.textContent=b.text;c.style.color=b.color;c.style.fontSize=b.fontSize;c.style.fontWeight=b.fontWeight;c.style.fontFamily=b.fontFamily;c.className=b.className;c.setAttribute("aria-hidden","true");if(this.oh&&b!==this.ph){this.ph=b;const {width:e,height:f}=c.getBoundingClientRect();b=new _.So(e,f);b.equals(this.qh)||(this.qh=b,this.oh(b))}_.eJ(c,_.Dm(this.opacity,1));_.wx(a,this.zIndex)}else HR(this)}};var WVa=class{constructor(a,b,c){this.element=a;this.animation=b;this.options=c;this.nh=!1;this.mh=null}start(){this.options.nn=this.options.nn||1;this.options.duration=this.options.duration||1;_.Vn(this.element,"webkitAnimationEnd",()=>{this.nh=!0;_.ao(this,"done")});SVa(this.element,LVa(this.animation),this.options)}cancel(){this.mh&&(this.mh.remove(),this.mh=null);SVa(this.element,null,{});_.ao(this,"done")}stop(){this.nh||(this.mh=_.Vn(this.element,"webkitAnimationIteration",()=>{this.cancel()}))}};var IR=[],JR=null,XVa=class{constructor(a,b,c){this.element=a;this.animation=b;this.nn=-1;this.mh=!1;this.startTime=0;c.nn!=="infinity"&&(this.nn=c.nn||1);this.duration=c.duration||1E3}start(){IR.push(this);JR||(JR=window.setInterval(TVa,10));this.startTime=Date.now();this.tick()}cancel(){this.mh||(this.mh=!0,VVa(this,1),_.ao(this,"done"))}stop(){this.mh||(this.nn=1)}tick(){if(!this.mh){var a=Date.now();VVa(this,(a-this.startTime)/this.duration);a>=this.startTime+this.duration&&(this.startTime=Date.now(), this.nn!=="infinite"&&(this.nn--,this.nn||this.cancel()))}}};var CXa=_.ya.DEF_DEBUG_MARKERS,uS=class extends _.fo{constructor(a,b,c){super();this.qh=this.mh=null;this.Vh=[];this.Nh=!1;this.targetElement=null;this.Oh=!1;this.ph=null;this.elements=[];this.zh=!0;this.wh=0;this.oh=this.Ph=this.bi=this.Xh=null;this.Ah=!1;this.element=this.th=this.xj=this.sh=this.uh=this.xh=null;this.Bh=!1;this.sq=null;this.rh=new _.uq(()=>{var d=this.get("panes"),e=this.get("scale");if(!d||!this.getPosition()||this.getVisible()===!1||_.Am(e)&&e<.1&&!this.Ml)NR(this);else{$Va(this, d.markerLayer);if(!this.wh){var f=this.getIcon();if(f){var g=f.url;e=OR(this);var h=this.getDraggable(),k=this.get("title")||"",n=k;n||(n=(n=this.getLabel())?n.text:"");if(e||h||n){var p=!e&&!h&&!k,r=BR(f),t=RR(f),v=this.get("shape"),w=CR(f),y={};if(_.yx())f=w.width,w=w.height,r=new _.So(f+16,w+16),f={url:_.LB,size:r,anchor:t?new _.Oo(t.x+8,t.y+8):new _.Oo(Math.round(f/2)+8,w+8),scaledSize:r};else{const E=f.scaledSize||w;(_.Hq.nh||_.Hq.mh)&&v&&(y.shape=v,w=E);if(!r||v)f={url:_.LB,size:w,anchor:t, scaledSize:E}}t=f.url!=null;this.Oh===t&&MR(this);this.Oh=!t;y=this.targetElement=PR(this,this.getPanes().overlayMouseTarget,this.targetElement,f,y);this.targetElement.style.pointerEvents=p?"none":"";if(p=y.querySelector("img"))p.style.removeProperty("position"),p.style.removeProperty("opacity"),p.style.removeProperty("left"),p.style.removeProperty("top");t=y;p=null;(f=t.getAttribute("usemap")||t.firstChild&&t.firstChild.getAttribute("usemap"))&&f.length&&(t=_.qx(t).getElementById(f.substring(1)))&& (p=t.firstChild);p&&(p.tabIndex=-1,p.style.display="inline",p.style.position="absolute",p.style.left="0px",p.style.top="0px");CXa&&(y.dataset.debugMarkerImage=g);y=p||y;y.title=k;n&&this.wq().setAttribute("aria-label",n);this.Zw();h&&!this.sh&&(g=this.sh=new _.tHa(y,this.Eh,this.targetElement),this.Eh?(g.bindTo("deltaClientPosition",this),g.bindTo("position",this)):g.bindTo("position",this.yh,"rawPosition"),g.bindTo("containerPixelBounds",this,"mapPixelBounds"),g.bindTo("anchorPoint",this),g.bindTo("size", this),g.bindTo("panningEnabled",this),this.xh||(this.xh=[_.$n(g,"dragstart",this),_.$n(g,"drag",this),_.$n(g,"dragend",this),_.$n(g,"panbynow",this)]));g=this.get("cursor")||"pointer";h?this.sh.set("draggableCursor",g):y.style.cursor=e?g:"";hWa(this,y)}}}d=d.overlayLayer;if(h=e=this.get("cross"))h=this.get("crossOnDrag"),h===void 0&&(h=this.get("raiseOnDrag")),h=h!==!1&&this.getDraggable()&&this.Ml;h?this.ph=PR(this,d,this.ph,e):(this.ph&&_.Cx(this.ph),this.ph=null);this.elements=[this.mh,this.ph, this.targetElement];dWa(this);for(e=0;e{_.vq(this.rh)})];this.getPosition=_.Fo("position");this.getPanes=_.Fo("panes");this.getVisible=_.Fo("visible");this.getIcon=_.Fo("icon");this.getLabel=_.Fo("label")}XG(){}get zn(){return this.Bh}set zn(a){this.Bh!==a&&(this.Bh=a,_.ao(this,"UPDATE_FOCUS"))}get Ml(){return this.get("dragging")}panes_changed(){NR(this);this.rh.ri()}ip(a){this.set("position",a&&new _.Oo(a.Sh,a.Uh))}yt(){this.unbindAll(); this.set("panes",null);this.oh&&this.oh.stop();this.uh&&(_.On(this.uh),this.uh=null);this.oh=null;LR(this.Jh);this.Jh=[];NR(this);_.ao(this,"RELEASED")}Gh(){var a;if(!(a=this.Xh!==OR(this)||this.bi!==this.getDraggable())){a=this.Ph;var b=this.get("shape");a=!(a==null||b==null?a===b:a.type===b.type&&_.FI(a.coords,b.coords))}a&&(this.Xh=OR(this),this.bi=this.getDraggable(),this.Ph=this.get("shape"),MR(this),this.rh.ri())}nh(){this.rh.ri()}position_changed(){this.Eh?_.vq(this.rh):this.rh.ri()}wq(){return this.targetElement}Zw(){const a= this.wq();if(a){var b=!!this.get("title");b||(b=(b=this.getLabel())?!!b.text:!1);this.zn?a.setAttribute("role","button"):b?a.setAttribute("role","img"):a.removeAttribute("role")}}Dy(a){_.ao(this,"click",a);_.N(window,171149)}Gt(){}Rs(a){_.ax(a);_.ao(this,"click",a);_.N(window,171150)}Cy(){}getDraggable(){return!!this.get("draggable")}oi(){this.set("dragging",!0);this.yh.set("snappingCallback",this.Hh)}ci(){this.yh.set("snappingCallback",null);this.set("dragging",!1)}animation_changed(){this.zh=!1; this.get("animation")?fWa(this):(this.set("animating",!1),this.oh&&this.oh.stop())}WF(a){const b=this.get("markerPosition");return this.sq&&b&&this.sq.size?DVa(a,this.targetElement):!1}};_.z=uS.prototype;_.z.shape_changed=uS.prototype.Gh;_.z.clickable_changed=uS.prototype.Gh;_.z.draggable_changed=uS.prototype.Gh;_.z.cursor_changed=uS.prototype.nh;_.z.scale_changed=uS.prototype.nh;_.z.raiseOnDrag_changed=uS.prototype.nh;_.z.crossOnDrag_changed=uS.prototype.nh;_.z.zIndex_changed=uS.prototype.nh; _.z.opacity_changed=uS.prototype.nh;_.z.title_changed=uS.prototype.nh;_.z.cross_changed=uS.prototype.nh;_.z.icon_changed=uS.prototype.nh;_.z.visible_changed=uS.prototype.nh;_.z.dragging_changed=uS.prototype.nh;var nWa="click dblclick mouseup mousedown mouseover mouseout rightclick dragstart drag dragend contextmenu".split(" "),yWa=class{constructor(a,b,c,d,e,f,g){this.marker=a;this.nh=b;this.Mh=e;this.Ah=f;this.ph=g;this.xh=!0;this.yh=this.zh=null;this.rh=[];this.wh=b instanceof _.uo;f=SR(this);b=this.wh&&f?_.Ex(f,b.getProjection()):null;this.mh=new uS(d,!!this.wh,h=>{this.mh.sq=a.__gm.sq={...a.__gm.sq,WQ:h};a.__gm.ky&&a.__gm.ky()});_.Mn(this.mh,"RELEASED",()=>{var h=this.mh;if(this.ph&&this.ph.has(h)){({tF:h}= this.ph.get(h));for(const k of h)k.remove()}this.ph&&this.ph.delete(this.mh)});this.Ah&&this.ph&&!this.ph.has(this.mh)&&(this.ph.set(this.mh,{marker:this.marker,tF:[]}),this.Ah.Ah(this.mh),TR(this,this.mh),kWa(this,this.mh));(this.qh=this.wh?new _.kN(e.wk,this.mh,b,e,()=>{if(this.mh.get("dragging")&&!this.marker.get("place")){var h=this.qh.getPosition();h&&(h=_.Gr(h,this.nh.get("projection")),this.xh=!1,this.marker.set("position",h),this.xh=!0)}}):null)&&e.Cj(this.qh);this.sh=new AXa(c,(h,k,n)=>{this.mh.sq= a.__gm.sq={...a.__gm.sq,size:h,anchor:k,labelOrigin:n};a.__gm.ky&&a.__gm.ky()});this.oh=this.wh?null:new _.ZM;this.th=this.wh?null:new BXa;this.uh=new _.fo;this.uh.bindTo("position",this.marker);this.uh.bindTo("place",this.marker);this.uh.bindTo("draggable",this.marker);this.uh.bindTo("dragging",this.marker);this.sh.bindTo("modelIcon",this.marker,"icon");this.sh.bindTo("modelLabel",this.marker,"label");this.sh.bindTo("modelCross",this.marker,"cross");this.sh.bindTo("modelShape",this.marker,"shape"); this.sh.bindTo("useDefaults",this.marker,"useDefaults");this.mh.bindTo("icon",this.sh,"viewIcon");this.mh.bindTo("label",this.sh,"viewLabel");this.mh.bindTo("cross",this.sh,"viewCross");this.mh.bindTo("shape",this.sh,"viewShape");this.mh.bindTo("title",this.marker);this.mh.bindTo("cursor",this.marker);this.mh.bindTo("dragging",this.marker);this.mh.bindTo("clickable",this.marker);this.mh.bindTo("zIndex",this.marker);this.mh.bindTo("opacity",this.marker);this.mh.bindTo("anchorPoint",this.marker);this.mh.bindTo("markerPosition", this.marker,"position");this.mh.bindTo("animation",this.marker);this.mh.bindTo("crossOnDrag",this.marker);this.mh.bindTo("raiseOnDrag",this.marker);this.mh.bindTo("animating",this.marker);this.th||this.mh.bindTo("visible",this.marker);lWa(this);mWa(this);oWa(this);this.wh?(pWa(this),qWa(this),sWa(this)):(tWa(this),this.oh&&(this.th.bindTo("visible",this.marker),this.th.bindTo("cursor",this.marker),this.th.bindTo("icon",this.marker),this.th.bindTo("icon",this.sh,"viewIcon"),this.th.bindTo("mapPixelBoundsQ", this.nh.__gm,"pixelBoundsQ"),this.th.bindTo("position",this.oh,"pixelPosition"),this.mh.bindTo("visible",this.th,"shouldRender")),vWa(this))}dispose(){this.mh.set("animation",null);this.mh.yt();this.Mh&&this.qh?this.Mh.Pl(this.qh):this.mh.yt();this.th&&this.th.unbindAll();this.oh&&this.oh.unbindAll();this.sh.unbindAll();this.uh.unbindAll();this.rh.forEach(_.On);this.rh.length=0}};var ZR=class{constructor(a,b,c,d){this.div=a;this.zj=b;this.mh=c;this.fi=d}getContext(){if(!this.context){const a=this.div,b=a.ownerDocument.createElement("canvas");_.Nq(b);b.style.position="absolute";b.style.top=b.style.left="0";const c=b.getContext("2d"),d=VR(c),e=this.fi.size;b.width=Math.ceil(e.Sh*d);b.height=Math.ceil(e.Uh*d);b.style.width=_.Jm(e.Sh);b.style.height=_.Jm(e.Uh);a.appendChild(b);this.context=c}return this.context}nE(a){const b=AWa(this),c=this.getContext(),d=VR(c),e=Math.round(a.dx* d),f=Math.round(a.dy*d),g=Math.ceil(a.xr*d);a=Math.ceil(a.ur*d);const h=zWa(this,g,a),k=h.getContext("2d");k.translate(-e,-f);b.forEach(n=>{k.globalAlpha=_.Dm(n.opacity,1);k.drawImage(n.image,n.Dz,n.Ez,n.Cz,n.wz,Math.round(n.dx*d),Math.round(n.dy*d),n.xr*d,n.ur*d)});c.clearRect(e,f,g,a);c.globalAlpha=1;c.drawImage(h,e,f)}};ZR.prototype.XM=ZR.prototype.nE;var JWa=class{constructor(){this.mh=_.VI().mh}load(a,b){return this.mh.load(new _.tL(a.url),c=>{if(c){var d=c.size,e=a.size||a.scaledSize||d;a.size=e;var f=a.scaledSize||d,g=a.anchor||new _.Oo(e.width/2,e.height),h=f.width/d.width,k=f.height/d.height,n=a.origin?a.origin.x/h:0,p=a.origin?a.origin.y/k:0,r=-g.x;g=-g.y;var t=e.width/h,v=e.width,w=e.height/k,y=e.height;n*h+e.width>f.width&&(t=d.width-n*h,v=f.width);p*k+e.height>f.height&&(w=d.height-p*k,y=f.height);b({image:c,Dz:n,Ez:p,Cz:t,wz:w,dx:r, dy:g,xr:v,ur:y})}else b(null)})}cancel(a){this.mh.cancel(a)}};var LWa=class{constructor(a,b,c,d){this.mh=b;this.nh=c;this.zIndex=40;this.oh=new _.lN(a,d,c)}Et(a){return a!=="dragstart"&&a!=="drag"&&a!=="dragend"}Mt(a,b){return b?WR(this,a,-8,0)||WR(this,a,0,-8)||WR(this,a,8,0)||WR(this,a,0,8):WR(this,a,0,0)}handleEvent(a,b,c){const d=b.jk;if(a==="mouseout")this.mh.set("cursor",""),this.mh.set("title",null);else if(a==="mouseover"){var e=d.qw;this.mh.set("cursor",e.cursor);(e=e.title)&&this.mh.set("title",e)}let f;d&&a!=="mouseout"?f=d.qw.latLng:f=b.latLng;a=== "dblclick"&&_.Kn(b.domEvent);_.ao(c,a,new _.OB(f,b.domEvent))}};var MWa=class extends _.tr{constructor(a,b,c,d,e,f,g){super();this.tiles=a;this.qh=d;this.oh=c;this.nh=e;this.ph=f;this.fi=g||_.ZB;b.mh=h=>{EWa(this,h)};b.onRemove=h=>{FWa(this,h)};b.forEach(h=>{EWa(this,h)})}mh(){return{fi:this.fi,sm:2,vl:this.vl.bind(this)}}vl(a,b={}){const c=document.createElement("div"),d=this.fi.size;c.style.width=`${d.Sh}px`;c.style.height=`${d.Uh}px`;c.style.overflow="hidden";a={div:c,zoom:a.ii,ej:new _.Oo(a.Zh,a.ai),aq:{},zj:new _.qr};c.fl=a;GWa(this,a);let e=!1;return{Qj:()=> c,ln:()=>e,loaded:new Promise(f=>{_.Xn(c,"load",()=>{e=!0;f()})}),release:()=>{const f=c.fl;c.fl=null;HWa(this,f);c.textContent="";b.ak&&b.ak()}}}};var NWa=class{constructor(a,b,c){this.nh=b;this.timeout=null;this.mh=!1;this.oh=0;this.zj=a;const d=this;a.mh=e=>{d.Qq(e,!0)};a.onRemove=e=>{d.onRemove(e)};this.div=c;a.getSize()?(this.mh=!0,this.ep()):queueMicrotask(()=>{_.ao(c,"load")})}onRemove(a){this.Qq(a,!1)}Qq(a,b){this.oh++<4?b?this.nh.nE(a):this.nh.XM(a):this.mh=!0;this.timeout||(this.timeout=_.XI(this.ep.bind(this)))}ep(){this.mh&&BWa(this.nh);this.mh=!1;this.timeout=null;this.oh=0;queueMicrotask(()=>{_.ao(this.div,"load")})}};var KWa=class{constructor(a,b,c,d,e){var f=IWa;this.markers=a;this.nh=b;this.mh=c;this.qh=f;this.ph=d;this.oh=e;this.markers.mh=g=>{this.Bu(g)};this.markers.onRemove=g=>{this.Cw(g)}}Bu(a){var b=a.get("internalPosition"),c=a.get("zIndex");const d=a.get("opacity"),e=a.__gm.Iy={RA:a,latLng:b,zIndex:c,opacity:d,zj:{}};b=a.get("useDefaults");c=a.get("icon");const f=a.get("shape")||c&&!b?a.get("shape"):this.mh.shape,g=c?this.qh(c):this.mh.icon,h=CVa(()=>{e===a.__gm.Iy&&(e.qu||e.xH)&&this.vm(a,e,g,f)}); g.url?this.ph.load(g,k=>{e.qu=k;h()}):(e.xH=this.oh(g),h())}Cw(a){this.nh.remove(a.__gm.Iy);a.__gm.Iy=null}vm(a,b,c,d){if(b.qu){c=c.size;var e=a.get("anchorPoint");if(!e||e.mh)e=new _.Oo(b.qu.dx+c.width/2,b.qu.dy),e.mh=!0,a.set("anchorPoint",e)}else c=b.xH.size;d?d.coords=d.coords||d.coord:d={type:"rect",coords:[0,0,c.width,c.height]};b.shape=d;b.clickable=a.get("clickable");b.title=a.get("title")||null;b.cursor=a.get("cursor")||"pointer";_.xq(this.nh,b)}};var YR=new Map;var DXa=class{constructor(a,b,c,d){this.Ev={};this.Pt=0;this.Lw=!0;const e=this;this.lD=b;this.gu=c;this.uF=d;const f={animating:1,animation:1,attribution:1,clickable:1,cursor:1,draggable:1,flat:1,icon:1,label:1,opacity:1,optimized:1,place:1,position:1,shape:1,__gmHiddenByCollision:1,title:1,visible:1,zIndex:1};this.vM=function(g){g in f&&(delete this.changed,e.Ev[_.eo(this)]=this,QWa(e))};a.mh=g=>{e.Bu(g)};a.onRemove=g=>{e.Cw(g)};a=a.elements;for(const g of Object.values(a))this.Bu(g)}Bu(a){this.Ev[_.eo(a)]= a;QWa(this)}Cw(a){delete a.changed;delete this.Ev[_.eo(a)];this.lD.remove(a);this.gu.remove(a)}};var nS=class extends Event{constructor(){super("gmp-click",{bubbles:!0,composed:!0})}};var EXa=class{Ch(){}zh(){}nh(){}oh(){}ph(){}uh(){}xh(){}sh(){}qh(){}rh(){}wh(){}yh(){}mh(){}Ah(){}Bh(){}Gh(){}Eh(){}th(){}};var FXa=(0,_.Xi)`.yNHHyP-marker-view .IPAZAH-content-container\u003e*{pointer-events:none}.yNHHyP-marker-view .IPAZAH-content-container.HJDHPx-interactive\u003e*{pointer-events:auto}\n`;var UWa=yVa("visible-gmp-advanced-markers"),TWa=yVa("hidden-gmp-advanced-markers"),XWa=class{constructor(a){this.li=GXa;this.rp=null;this.wh=!1;this.th=null;this.sh=0;this.uh=null;this.map=a;this.ph=new Set;this.qh=new Set;this.Xn=`maps-aria-${_.to()}`;this.oh=document.createElement("span");this.oh.id=this.Xn;this.oh.textContent="\u82e5\u8981\u4f7f\u7528\u952e\u76d8\u6fc0\u6d3b\u62d6\u52a8\u529f\u80fd\uff0c\u8bf7\u6309 Alt + Enter \u952e\u3002\u8fdb\u5165\u952e\u76d8\u62d6\u52a8\u72b6\u6001\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528\u7bad\u5934\u952e\u6765\u79fb\u52a8\u6807\u8bb0\u3002\u6309 Enter \u952e\u53ef\u7ed3\u675f\u62d6\u52a8\u64cd\u4f5c\u3002\u5982\u9700\u53d6\u6d88\uff0c\u8bf7\u6309 Esc \u952e\u3002"; this.oh.style.display="none";this.rh=document.createElement("div");this.mh=document.createElement("div");CSS.supports("content-visibility: hidden")?this.mh.style.contentVisibility="hidden":this.mh.style.visibility="hidden";var b=document.createElement("slot");b.setAttribute("name",UWa);this.rh.appendChild(b);b=document.createElement("slot");b.setAttribute("name",TWa);this.mh.appendChild(b);this.nh=document.createElement("div");this.nh.append(this.rh,this.mh);const c=a.__gm;this.yh=c.tq;this.xh=new Promise(d=> {c.oh.then(e=>{this.map&&(e&&(this.rp=RWa(this,a)),this.wh=!0);d()})});_.Ru(FXa,this.map.getDiv());Promise.all([c.nh,this.xh]).then(([{xm:d}])=>{this.map&&d.overlayMouseTarget.append(this.oh,this.nh);this.uh=c.addListener("panes_changed",e=>{this.map&&e.overlayMouseTarget.append(this.oh,this.nh)})})}dispose(){this.rp&&(this.rp.setMap(null),this.rp=null);this.uh&&this.uh.remove();this.oh.remove();this.mh.remove();this.rh.remove();this.nh.remove();this.mh.textContent="";this.rh.textContent="";this.ph.clear(); this.qh.clear();this.map=null}isEmpty(){return this.ph.size===0}requestRedraw(){this.wh?this.rp&&this.rp.requestRedraw():this.xh.then(()=>{this.rp&&this.rp.requestRedraw()})}onDraw(a){if(this.map){var b=this.yh.offsetWidth,c=this.yh.offsetHeight,d=_.Tq(this.map.getZoom()||1,this.map.getTilt()||0,this.map.getHeading()||0);for(const h of this.ph.values()){a:{var e=h.OL;var f=this.map.getCenter();if(!e||!f){e=null;break a}f=_.ym(f.lng(),-180,180);var g=_.ym(e.lng,-180,180);f>0&&g f+180&&(g-=360);e=new _.Kp({altitude:e.altitude,lat:e.lat,lng:g},!0)}if(!e){h.ip(null,d);continue}e=a.fromLatLngAltitude(e);f=Array.from(e);e=g=[0,0,0];const k=e[0],n=e[1],p=e[2],r=1/(f[3]*k+f[7]*n+f[11]*p+f[15]);e[0]=(f[0]*k+f[4]*n+f[8]*p+f[12])*r;e[1]=(f[1]*k+f[5]*n+f[9]*p+f[13])*r;e[2]=(f[2]*k+f[6]*n+f[10]*p+f[14])*r;const {EL:t,oO:v}={EL:f[14]<0&&f[15]<0,oO:g};t?h.ip(null,d):h.ip({Sh:ER(v[0]/2*b),Uh:ER(-v[1]/2*c)},d,{Sh:b,Uh:c})}}}};var bS=new Map,GXa=new class extends EXa{Ch(a){a&&a&&_.N(a,181191)}zh(a){if(a){var b=a.getRenderingType();b!=="UNINITIALIZED"&&a&&_.N(a,159713);b==="RASTER"?a&&_.N(a,157416):b==="VECTOR"&&a&&_.N(a,157417)}}nh(a,b=!1){a&&_.N(a,158896);b&&a&&_.N(a,185214)}oh(a,b){b&&(b!=="REQUIRED"&&a&&_.N(a,160097),b==="REQUIRED_AND_HIDES_OPTIONAL"?a&&_.N(a,160098):b==="OPTIONAL_AND_HIDES_LOWER_PRIORITY"&&a&&_.N(a,160099))}ph(a,b){b?a&&_.N(a,159404):a&&_.N(a,159405)}uh(a){a&&_.N(a,159484)}xh(a){a&&_.N(a,160438)}sh(a){a&& _.N(a,159521)}qh(a){a&&_.N(a,160103)}rh(a){a&&_.N(a,159805)}wh(a){a&&_.N(a,159490)}yh(a){a&&_.N(a,159812)}mh(a){a&&_.N(a,159609)}Ah(a){a&&_.N(a,160122)}Bh(a){a&&_.N(a,160106)}Gh(a){a&&_.N(a,160478)}Eh(a,b){const c=[{threshold:1E4,Gp:160636},{threshold:5E3,Gp:160635},{threshold:2E3,Gp:160634},{threshold:1E3,Gp:160633},{threshold:500,Gp:160632},{threshold:200,Gp:160631},{threshold:100,Gp:160630},{threshold:50,Gp:159732},{threshold:10,Gp:160629},{threshold:1,Gp:160628}];for(const {threshold:d,Gp:e}of c)if(b>= d){a&&_.N(a,e);break}}th(a){window&&_.N(window,a instanceof KeyboardEvent?171152:171153)}},HXa=new EXa,aS=null;var IXa=class{constructor(a){this.mh=a;this.qh=this.ph=!1;this.uh=this.nh=this.rh=this.wh=this.yh=this.Eh=null;this.xh=0;this.Hh=null;this.Nh=b=>{this.Ft(b)};this.Ph=b=>{b.touches.length===1&&this.Ft(b)};this.Jh=b=>{b.preventDefault();b.stopImmediatePropagation()};this.Bh=b=>{if(this.qh||this.th||IVa(b,this.Eh))this.th=!0};a=this.mh.Dp;_.ky!==2?(a.addEventListener("pointerdown",this.Nh),a.addEventListener("pointermove",this.Bh)):(a.addEventListener("touchstart",this.Ph,{passive:!1}),a.addEventListener("touchmove", this.Bh,{passive:!1}));a.addEventListener("mousedown",this.Jh);this.Ah=b=>{b.preventDefault();b.stopImmediatePropagation();this.qh?iXa(this,b):this.ph?(jXa(this,b),fS(this.mh,"drag",b)):(kXa(this,b),b=this.mh,b.li.Gh(b.map))};this.sh=b=>{this.uh&&b.timeStamp-this.uh>=500&&(!this.ph||this.qh)?(this.qh?iXa(this,b):(kXa(this,b),b=this.mh,b.li.Bh(b.map),b.Op&&_.ao(b,"longpressdragstart")),this.th=!0):(this.ph&&(this.qh||this.th||IVa(b,this.Eh))&&(this.th=!0),this.qh&&cS(this,b),b.type==="touchend"&&gS(this, !1),this.ph?(b.stopImmediatePropagation(),jXa(this,b),jS(this),kS(this.mh,!0),fS(this.mh,"dragend",b)):jS(this))};this.Vh=b=>{this.bi(b)};this.Xh=b=>{this.ci(b)};this.Oh=b=>{dS(this,b)};this.bi=b=>{if(b.altKey&&(_.vz(b)||b.key===_.Jpa))dS(this,b);else if(!b.altKey&&_.vz(b))this.th=!0,cS(this,b);else if(_.wz(b)||_.yz(b)||_.xz(b)||_.zz(b))b.preventDefault(),this.zh.add(b.key),this.xh||(this.Hh=new _.yM(100),mXa(this)),fS(this.mh,"drag",b);else if(b.code==="Equal"||b.code==="Minus"){var c=this.mh;b= b.code==="Equal"?1:-1;const d=HVa(c.Mk,c.Rp);d&&c.Mh.YH(b,d)}};this.ci=b=>{(_.wz(b)||_.yz(b)||_.xz(b)||_.zz(b))&&this.zh.delete(b.key)};this.Ch=()=>{gS(this,!0)};this.Gh=()=>{this.ph||gS(this,!1)};this.oh=document.createElement("div");eXa(this);this.th=!1;this.zh=new Set}Kz(a){this.nh&&_.zM(this.nh,a)}Ft(a){this.th=!1;if(this.mh.gmpDraggable&&(a.button===0||a.type==="touchstart")){const b=this.mh.Dp;b.focus();const c=document;_.ky!==2||a.preventDefault();a.stopImmediatePropagation();this.uh=a.timeStamp; _.ky!==2?(c.addEventListener("pointermove",this.Ah),c.addEventListener("pointerup",this.sh),c.addEventListener("pointercancel",this.sh)):(c.addEventListener("touchmove",this.Ah,{passive:!1}),c.addEventListener("touchend",this.sh),c.addEventListener("touchcancel",this.sh),c.addEventListener("touchstart",this.sh));this.ph||(this.Eh=_.YL(a));b.style.cursor=_.Dz}}Dy(){this.ph||(this.th=!1)}Gt(a){if(this.mh.gmpDraggable&&!this.qh&&!this.ph){var b=this.mh.Dp;b.addEventListener("keydown",this.Vh);b.addEventListener("keyup", this.Xh);b.addEventListener("blur",this.Oh);this.rh=this.mh.ko();this.yh=this.mh.position;this.qh=this.ph=!0;hXa(this);b=this.mh.Dp;b.setAttribute("aria-grabbed","true");iS(this.mh);b.style.zIndex="2147483647";this.oh.style.opacity="1";fS(this.mh,"dragstart",a);a=this.mh;a.li.Ah(a.map)}}Cy(a,b=!0){this.qh?dS(this,a,b):this.ph&&(this.mh.position=this.yh,a.stopImmediatePropagation(),jS(this),b&&fS(this.mh,"dragend",a))}Ml(){return this.ph}dispose(){jS(this);const a=this.mh.Dp;_.ky!==2?(a.removeEventListener("pointerdown", this.Nh),a.removeEventListener("pointermove",this.Bh)):(a.removeEventListener("touchstart",this.Ph,{passive:!1}),a.removeEventListener("touchmove",this.Bh,{passive:!1}));a.removeEventListener("mousedown",this.Jh);a.removeEventListener("pointerenter",this.Ch);a.removeEventListener("pointerleave",this.Gh);a.removeEventListener("focus",this.Ch);a.removeEventListener("blur",this.Gh);this.oh.remove()}};var vS=!1,wS=class extends _.Xt{set anchorTop(a){this.AL=this.Kh("anchorTop",_.Ys,a);rS(this,this.Rk);kS(this,!0)}get anchorTop(){return this.AL}set anchorLeft(a){this.zL=this.Kh("anchorLeft",_.Ys,a);rS(this,this.Rk);kS(this,!0)}get anchorLeft(){return this.zL}constructor(a={}){super(a);this.Bv=this.xj=this.Hj=null;this.NA="";this.Ol=this.lw=this.TD=this.Mh=this.Kk=this.kl=null;this.QD=!1;this.Oz=null;this.CC=this.ZF=this.Pz=this.SD=!1;this.ui=this.zx=this.uG=this.UG=this.ZH=this.BE=null;this.PD= void 0;this.Zu=this.RD=!1;this.IF=_.jp(!1);this.Rp=this.av=this.cB=null;this.ks="";this.Mk=this.Qz=void 0;this.zA=this.AA=!0;this.LB=this.fD=!1;this.uw=!0;document.createElement("div");oXa(this);this.targetElement=this;this.Dp=this;this.Op=vS;Object.defineProperties(this,{Op:{value:vS,writable:!1}});this.li=this.Op?HXa:GXa;this.addEventListener("focus",e=>{this.qB(e)},!0);this.addEventListener("marker-resize",()=>{pXa(this);kS(this,!0)});this.pm=new _.kC;this.Gj=document.createElement("div");_.Mr(this.Gj, "content-container");this.kl=document.createElement("slot");this.kl.addEventListener("slotchange",()=>{this.Ss()});this.Gj.appendChild(this.kl);this.kl.prepend(this.pm);this.Ss();Promise.resolve().then(()=>{lS(this);a.anchorTop&&(this.anchorTop=a.anchorTop);a.anchorLeft&&(this.anchorLeft=a.anchorLeft)});this.Vx=getComputedStyle(this);this.NK=(e,f,g)=>this.qy(e,f,g);const b=()=>{lS(this);mS(this);const e=_.Nn(this,"gmp-click");this.li.nh(this.map,e)},c=()=>{lS(this);mS(this)},d=["click"];d.push("gmp-click"); for(const e of d)BVa(this,e,b),AVa(this,e,c);this.kn=new _.fo;this.kn.addListener("isopen_changed",()=>{qXa(this);pXa(this)});this.xF=e=>{this.xj?.Yr(e==="cooperative"||e==="none")};this.collisionBehavior=a.collisionBehavior;a.content!=null&&(this.content=a.content);this.KA=!!a.KA;this.gmpClickable=a.gmpClickable;this.gmpDraggable=a.gmpDraggable;this.position=a.position;this.title=a.title??"";this.zIndex=a.zIndex;this.map=a.map;this.yi(a,wS,"AdvancedMarkerElement")}addEventListener(a,b,c){a!=="click"|| this.fD||_.Gn(_.bq(this,"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));super.addEventListener(a,b,c)}addListener(a,b){a==="click"&&_.Gn(_.bq(this,"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));return _.Mn(this,a,b)}qB(a){var b=a.target,c=a.relatedTarget;if(this!==b)if(a.stopPropagation(),a.stopImmediatePropagation(),console.debug('Focusable child elements in AdvancedMarkerElement are not supported. To make AdvancedMarkerElement focusable, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'), this.li.yh(this.map),a=[document.body,..._.Ax(document.body)],b=a.indexOf(b),c=a.indexOf(c),b===-1||c===-1)this.focus();else for(c=b>c?1:-1,b+=c;b>=0&&b{if(this.zn){var b=()=>{this.isConnected&&this.Rk?setTimeout(()=>{this.focus();a()}, 0):_.tz(_.sz(),b)};b()}})}Rs(){}Cy(a){this.Hj&&(this.Hj.Cy(a,!this.Op),this.Op&&_.ao(this,"dragcancel"))}get collisionBehavior(){return this.PD}set collisionBehavior(a){a=this.Kh("collisionBehavior",_.hn(_.an(_.nt)),a)||"REQUIRED";this.collisionBehavior!==a&&(this.PD=a,this.li.oh(this.map,this.PD),this.map&&(!$R(this)&&this.ui?wVa(this.ui.Hh,this):kS(this,!0)))}get element(){return this}get Qy(){return oS(this)[0]===this.pm}get content(){const a=oS(this);a.length>1&&console.debug("The content getter of AdvancedMarkerElement only returns the first content when there are multiple contents, use childNodes or children to get all the contents."); return a[0]}set content(a){a=this.Kh("content",_.hn(_.fn([_.$m(Node,"Node"),_.en(_.Zm)])),a)||this.pm;const b=oS(this);if(b.length!==1||b[0]!==a)a!==this.pm?this.replaceChildren(a):a===this.pm&&this.replaceChildren(),this.Ss()}Ss(){const a=()=>{this.kl&&!this.kl.contains(this.pm)&&this.kl.prepend(this.pm);this.Ol=null;this.Hj&&hS(this.Hj);kS(this,!0);lS(this)};this.li.ph(this.map,this.Qy);this.bq.then(()=>{a()})}get dragIndicator(){}set dragIndicator(a){}get gmpClickable(){return this.RD}set gmpClickable(a){a= this.Kh("gmpClickable",_.Zs,a)||!1;this.RD!==a&&(this.RD=a,lS(this),mS(this))}get gmpDraggable(){return this.Zu}set gmpDraggable(a){a=this.Kh("gmpDraggable",_.Zs,a)||!1;tXa(this,this.position,a);this.IF.set(a);this.Zu!==a&&((this.Zu=a)?(this.li.qh(this.map),this.setAttribute("aria-grabbed","false"),YWa(this,this.NA),this.Hj=new IXa(this),dXa(this.Hj)):(this.removeAttribute("aria-grabbed"),this.XG(this.NA),this.Hj.dispose(),this.Hj=null),lS(this),mS(this))}XG(a){var b=this.getAttribute("aria-describedby"); b=(b?b.split(" "):[]).filter(c=>c!==a);b.length>0?this.setAttribute("aria-describedby",b.join(" ")):this.removeAttribute("aria-describedby")}get map(){return this.Mk}set map(a){this.setMap(a);this.Mk&&(a=_.vo(this.Mk))&&this.parentElement!==a&&a.append(this)}setMap(a){this.Mk!==a&&(a=this.Kh("map",_.hn(_.$m(_.uo,"MapsApiMap")),a),a instanceof _.uo&&(a=a.yN),a&&this.isConnected?pS(this):this.dispose(),this.Mk=a,this.kn.set("map",this.Mk),this.Mk instanceof _.uo?(this.Mk&&ZWa(this,this.Mk),this.ui= this.Mk.__gm,sXa(this),this.BE=this.Mk.addListener("bounds_changed",()=>{qS(this)}),this.ZH=this.Mk.addListener("zoom_changed",()=>{qS(this)}),this.UG=this.Mk.addListener("projection_changed",()=>{qS(this)}),this.uG=this.Mk.addListener("maptypeid_changed",()=>{vXa(this)}),Promise.all([this.ui.nh,this.ui.oh]).then(([b,c])=>{this.Mk===b.map&&(this.ZF=c,this.li.zh(b.map),c=this.ui.mh,this.Op||_.gq(c,"ADVANCED_MARKERS").isAvailable)&&(this.Mh=b.Mh,vXa(this))}),wXa(this),xXa(this)):this.ui=null)}get position(){return this.av}set position(a){a= (a=this.Kh("position",_.hn(_.Cr),a)||null)&&new _.Kp(a);const b=this.av;tXa(this,a,this.gmpDraggable);if(b&&a){var c=new _.Kp(b,!0);const d=new _.Kp(a,!0);c=!c.equals(d)}else c=b!==a;c&&(this.Rp=(this.av=a)?new _.un(a):null,this.CC=!0,a||rS(this,null),this.kn.set("position",this.Rp),this.kn.set("map",this.map),this.zx?$Wa(this.map):uXa(this),this.Yl()>0&&this.li.mh(this.map),_.Xp(this,"position",b))}get OL(){return this.av}get title(){return this.ks}set title(a){a=this.Kh("title",_.Ur,a);const b= this.ks;a!==this.title&&(this.ks=a,this.title&&this.li.rh(this.map),this.title===""?(this.removeAttribute("aria-label"),this.removeAttribute("title")):(this.setAttribute("aria-label",this.title),this.setAttribute("title",this.title)),this.Zw(),_.Xp(this,"title",b))}get zIndex(){return this.Qz}set zIndex(a){a=this.Kh("zIndex",_.hn(_.Ts),a);this.Qz=a==null?null:a;this.style.zIndex=this.Qz==null?"":`${this.Qz}`;this.zIndex!==null&&this.li.sh(this.map);kS(this)}get cw(){const a=_.Nn(this,"click"),b=_.Nn(this, "gmp-click");return a||b||!!this.gmpClickable}get XF(){return this.cw||!!this.gmpDraggable}get zn(){return this.QD}set zn(a){nXa(this);this.QD!==a&&(this.QD=a,qS(this))}get Ys(){return this.Pz}set Ys(a){if(a!==this.Pz){if(this.Pz=a)this.zA=this.AA=!1,iS(this);this.map&&aXa(this,this.map)}}get Vo(){return this.Oz}set Vo(a){a!==this.Oz&&(this.Oz=a,this.map&&aXa(this,this.map),qS(this),_.ao(this,"UPDATE_BASEMAP_COLLISION"))}Uv(){if(!this.Rk)return null;if(!this.Ol)for(const c of oS(this)){var a=this.Vx; const {offset:d,size:e}=FVa(this,c);var b=DR(a);a=b.offsetY+d.y;b=b.offsetX+d.x;a=_.yp(b,a,b+e.width,a+e.height);this.Ol?this.Ol.extendByBounds(a):this.Ol=a}return this.Ol}get Rk(){return this.TD}set Rk(a){const b=this.TD==null&&!!a;this.TD=a;qXa(this,b)}Yl(){return this.av?this.av.altitude:0}qy(a,b,c){return this.Mk?(c=_.jEa(this.Mk.getProjection(),this.Rp,c))?a/c*Math.sin(b*Math.PI/180):0:0}ip(a,b,c){if(a){if(this.Hj){b=this.Hj;var d=b.mh;b=(d=d.ui?d.ui.tq:null)&&b.rh&&b.ph&&!b.qh?GVa(d,b.rh):null}else b= null;b&&(a=b);this.lw=a;b=this.Ys;this.Ys=!(!c||!(Math.abs(a.Sh)>c.Sh/2+512||Math.abs(a.Uh)>c.Uh/2+512));b&&this.Ys||(this.uw&&this.map&&(c=_.Ka(this.map),(c=bS.get(c))&&VWa(c,this)),(new _.Oo(a.Sh,a.Uh)).equals(this.Rk)||(rS(this,new _.Oo(a.Sh,a.Uh)),this.Kz(this.CC)),this.CC=!1,this.zA=this.AA=!0)}else this.Ys=!0,this.lw=null,rS(this,null)}Kz(a){this.Ol=null;this.Hj&&this.Hj.nh&&this.Hj.Kz(this.Uv());kS(this,a)}Ym(a){this.SD!==a&&(this.SD=a,this.kn.set("map",this.SD?this.map:null))}xy(){if(!$R(this)|| this.Vo||!oS(this).length)return null;var a=this.map.getProjection();if(!a)return null;a=a.fromLatLngToPoint(this.Rp);const b=[];for(const f of oS(this)){a:{var c=f;var d=this.Rk;var e=this.Vx;if(!d){d={size:new _.So(0,0),offset:new _.Oo(0,0)};break a}const {size:k,offset:n}=FVa(this,c);c=DR(e);d={size:k,offset:new _.Oo(c.offsetX-d.x+n.x,c.offsetY-d.y+n.y)}}const {size:g,offset:h}=d;d=new zXa(a.x,a.y,g.width,g.height,h.x,h.y);b.push(d)}return b}yt(){}wq(){return this}WF(a){return!this.position||this.Oz? !1:DVa(a,this)}Zw(){const a=this.wq();this.zn?a.setAttribute("role","button"):this.title?a.setAttribute("role","img"):a.removeAttribute("role")}get Ml(){return this.Hj?this.Hj.Ml():!1}Um(){rS(this,null);iS(this);this.AA&&this.Mh&&this.Kk&&(this.Mh.Pl(this.Kk),this.Kk=null);this.remove();this.uw=!0}dispose(){if(!this.LB){this.LB=!0;try{this.Mk&&(pS(this),this.Um())}finally{this.LB=!1}}}aD(a){{const c=this.ui?.get("projectionController");if(this.ui&&a&&c){var b=this.ui.tq.getBoundingClientRect();a= c.fromContainerPixelToLatLng(new _.Oo(a.clientX-b.left,a.clientY-b.top))}else a=null}a&&(this.position=a)}ko(){var a=this.ui?.get("projectionController");if(!this.ui||!a||!this.Rp)return null;a=a.fromLatLngToContainerPixel(this.Rp);const b=this.ui.tq.getBoundingClientRect();return{clientX:a.x+b.left,clientY:a.y+b.top}}connectedCallback(){super.connectedCallback();this.Bk.appendChild(this.Gj);this.Hj&&hS(this.Hj);if(this.isConnected&&this.parentNode){const a=AR(this);a?this.setMap(a):(pS(this),console.error("AdvancedMarkerElement: parent element must be a ."))}}disconnectedCallback(){!this.isConnected&& this.zA&&(this.map=null);this.uw=!0;super.disconnectedCallback()}};wS.prototype.addListener=wS.prototype.addListener;wS.prototype.addEventListener=wS.prototype.addEventListener;wS.prototype.constructor=wS.prototype.constructor;wS.Gi={Ki:181577,Ji:181576};_.A([_.lr({Ih:"anchor-top",type:String,Lh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],wS.prototype,"anchorTop",null); _.A([_.lr({Ih:"anchor-left",type:String,Lh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],wS.prototype,"anchorLeft",null);_.A([_.lr({Ih:"gmp-clickable",type:Boolean,Lh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],wS.prototype,"gmpClickable",null);_.A([_.lr({ki:_.yt,hj:_.Pp,Lh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],wS.prototype,"position",null); _.A([_.lr({ki:{rk:a=>a||"",Nj:a=>a||null},Lh:!0}),_.B("design:type",String),_.B("design:paramtypes",[String])],wS.prototype,"title",null);var JXa=!1,KXa=class extends wS{constructor(a={}){super(a);if(!vS)throw Error("InternalUseAdvancedMarkerView is not allowed to be instantiated directly.");}};_.wp("gmp-internal-use-am",KXa);var xS={Marker:_.qt,CollisionBehavior:_.nt,Animation:_.Jha,UJ:()=>{},wA:function(a,b,c){const d=_.oGa();if(b instanceof _.kp)xWa(a,b,d);else{const e=new _.qr;xWa(e,b,d);const f=new _.qr;c||OWa(f,b,d);new DXa(a,f,e,c)}},ME:function(a={}){vS=!0;a=new KXa(a);vS=!1;return a},AdvancedMarkerElement:wS,PinElement:_.kC,AdvancedMarkerClickEvent:nS,AdvancedMarkerView:void 0,PinView:void 0,connectForExplicitThirdPartyLoad:()=>{const a={AdvancedMarkerElement:wS,PinElement:_.kC,AdvancedMarkerClickEvent:nS,AdvancedMarkerView:void 0, PinView:void 0};_.Mm(a);_.ya.google.maps.marker=a;JXa||(JXa=!0,_.wp("gmp-advanced-marker",wS))}};_.Nm(xS,["UJ","wA","ME","connectForExplicitThirdPartyLoad"]);_.Mm(xS);_.Xl("marker",xS);});